Skip to content

[pylint] Fix docs example that produced different output (PLW0603)#18216

Merged
MichaReiser merged 1 commit intoastral-sh:mainfrom
twentyone212121:fix-global-statement-docs
May 22, 2025
Merged

[pylint] Fix docs example that produced different output (PLW0603)#18216
MichaReiser merged 1 commit intoastral-sh:mainfrom
twentyone212121:fix-global-statement-docs

Conversation

@twentyone212121
Copy link
Contributor

Summary

Closes #18139
I have modified the example to produce the same output as the original code:

10
10

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser added the documentation Improvements or additions to documentation label May 22, 2025
@MichaReiser
Copy link
Member

Thank you

@MichaReiser MichaReiser merged commit 6df10c6 into astral-sh:main May 22, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs on global var produce different outputs

2 participants